import customScroll from './custom-scroll'

const install = function(Vue) {
  Vue.directive('custom-scroll', customScroll)
}

if (window.Vue) {
  window.customScroll = customScroll;
  Vue.use(install); // eslint-disable-line
}

customScroll.install = install;
export default customScroll

